package com.yansl.http.autoconfig;

import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.type.AnnotationMetadata;

import com.yansl.http.handler.HttpCallHandler;
import com.yansl.http.handler.SpringHandler;
import com.yansl.http.intercepter.DefaultHttpIntercepter;
import com.yansl.http.proxy.HttpHandler;

/**
 * @description: 自定义导入
 * @author: yansl.cn
 * @create: 2023-01-18 16:33
 */
public class DefaultImportSelector implements DeferredImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[] { HttpCallHandler.class.getName(), SpringHandler.class.getName(), DefaultHttpIntercepter.class.getName(),
                HttpHandler.class.getName(),

        };
    }
}
